<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        h1{
            color: red;
            text-align: center;
        }
        .c1,.c2{
                width: 100px;
                height: 100px;
                background: pink;
        }
        .c1{
            text-align: justify;
            line-height: 1.5;
        }
        h2{
            width: 200px;
            height: 50px;
            background: orange;
            text-align: center;
            line-height: 30px;
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div>

        <h1>一级标题
            <p>段落内容</p>
        </h1>
 
    </div>
    <h2>二级标题

    </h2>
    <p class="c1">
            今天星期五,开心,有作业,好多作业

            
    </p>
    <p class="c2">
        今天星期五,开心,有作业,好多作业

    </p>
    <h1>
        <h2>h1->h2</h2>
    </h1>
    <p>
        <h2>p->h2</h2>
    </p>
    <p>
        <p>p->p</p>
    </p>
    <span><b>加粗</b></span>
    <a href=""><img src="./wxy.jpeg"></a>
    <a href=""><h1>超链接</h1></a>
</body>
</html>